package com.lechi.web.service;


import com.lechi.web.system.domain.IotSensorGroupBo;

import java.util.List;

/**
 * 传感器分组Service接口
 *
 * @author yangguang
 */
public interface IIotSensorGroupService {
    /**
     * 查询传感器分组
     *
     * @param id 传感器分组主键
     * @return 传感器分组 iot sensor group bo
     */
    IotSensorGroupBo selectIotSensorGroupById(Long id);

    /**
     * 查询传感器分组列表
     *
     * @param iotSensorGroupBo 传感器分组
     * @return 传感器分组集合 list
     */
    List<IotSensorGroupBo> selectIotSensorGroupList(IotSensorGroupBo iotSensorGroupBo);

    /**
     * 新增传感器分组
     *
     * @param iotSensorGroupBo 传感器分组
     */
    void insertIotSensorGroup(IotSensorGroupBo iotSensorGroupBo);

    /**
     * 修改传感器分组
     *
     * @param iotSensorGroupBo 传感器分组
     */
    void updateIotSensorGroup(IotSensorGroupBo iotSensorGroupBo);

    /**
     * 删除传感器分组信息
     *
     * @param id 传感器分组主键
     */
    void deleteIotSensorGroupById(Long id);
}
